package com.huangwei.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@ToString
@ApiModel("驾照")
public class DriverLicense implements Serializable {
    @ApiModelProperty("驾照ID")
    private Integer driverLicenseId;
    @ApiModelProperty("姓氏")
    private String lastName;
    @ApiModelProperty("名字")
    private String firstName;
    @ApiModelProperty("领证时间")
    private Date startTime;
    @ApiModelProperty("有效期/年")
    private Integer useTime;
    @ApiModelProperty("驾照号码")
    private String driverLicenseNumber;
    @ApiModelProperty("驾照类型")
    private DriverLicenseType driverLicenseType;
}
